@echo off

set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"
C:\"Program Files"\MySQL\"MySQL Server 5.6"\bin\mysqldump --opt -u root --password=root portal > E:\mysql_backup\inner_oa_%Ymd%.sql

@echo on
